package com.zx.ishopping.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.util.Date;

/**
 * 订单实体类
 * @author 祝鑫
 * @date 2025/6/21
 */

@Data
@AllArgsConstructor
@NoArgsConstructor
public class Order {
    private Long id;
    private String orderNumber;//订单号
    private Long userId;
    private BigDecimal totalAmount;//订单总金额
    private int status;
    private String name;//收件人
    private String address;
    private String phoneNum;
    private LocalDateTime createTime;
    private LocalDateTime updateTime;
}
